package com.caiheng.api.entity.estate;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * 楼宇单元数据对象 estate_build_unit
 *
 * @author ruoyi
 * @date 2024-01-18
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("estate_build_unit")
public class EstateBuildUnit implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 所属小区id
     */
    private Long estateId;

    /**
     * 所属楼宇id
     */
    private Long buildId;

    /**
     * 单元名称
     */
    private String unitNo;

    /**
     * 状态
     */
    private Long state;

    /**
     * 索引
     */
    private Long sort;

}
